package com.example.cognitivesystemserver.service;

import com.example.cognitivesystemserver.Model.UserModel;
import com.example.cognitivesystemserver.pojo.Login;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

public interface LoginService {
    public UserModel register(String name,String userId,String userPwd,int role);
    public UserModel login(String userId, String userPwd);
    public void updatePassWord(String userId,String oldPwd,String newPwd,String repeatPwd);
    public Login selectByUserId(String userId);
}
